libapache2-mod-rpaf software package provides module for Apache2 which takes the last IP from the X-Forwarded-For header, you can install in your Ubuntu 14.04 LTS (Trusty Tahr) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install libapache2-mod-rpaf
libapache2-mod-rpaf is installed in your system.
Make ensure the libapache2-mod-rpaf package were installed using the commands given below,
$ sudo dpkg-query -l | grep libapache2-mod-rpaf *
You will get with libapache2-mod-rpaf package name, version, architecture and description in a table
| Distro | Ubuntu 14 04 lts trusty tahr |
| Section | Web Software |
| Package | libapache2-mod-rpaf |
| Version | 0.6-12 |
| Description | module for Apache2 which takes the last IP from the X-Forwarded-For header |
| Sub Section | Web |